Enum-Klasse PDFC.PROP

java.lang.Object
java.lang.Enum<PDFC.PROP>
com.inet.pdfc.PDFC.PROP
Alle implementierten Schnittstellen:
CommandLineParameter, Serializable, Comparable<PDFC.PROP>, Constable
Umschließende Klasse:
PDFC

protected static enum PDFC.PROP extends Enum<PDFC.PROP> implements CommandLineParameter
Enum of all known command line switches and options, along with their long and short for and info about their default value and whether they require a parameter
  • Enum-Konstanten - Details

    • ACTIVATE

      public static final PDFC.PROP ACTIVATE
      Switch to activate a license or activation key
    • INFO

      public static final PDFC.PROP INFO
      Switch to print debug and support informations to the console
    • REUQESTANDACTIVATETRIAL

      public static final PDFC.PROP REUQESTANDACTIVATETRIAL
    • CONFIG

      public static final PDFC.PROP CONFIG
      Switch to set the configuration file
    • ROOT

      public static final PDFC.PROP ROOT
      Switch to set the root folder for the report and difference images
    • PRESENTERS

      public static final PDFC.PROP PRESENTERS
      Parameter for the export presenters to be used. Console is always enabled. Values: List if the export presenter names, see EXPORT constants
    • OPTION_PRINT

      public static final PDFC.PROP OPTION_PRINT
      Option to enable the print export
    • OPTION_EXPORT

      public static final PDFC.PROP OPTION_EXPORT
      Option to enable the PDF report export.
    • EXPORT_FORMAT

      public static final PDFC.PROP EXPORT_FORMAT
      Defines the export format in case export is 'report' or the -e option is set
    • EXPORT_PW

      public static final PDFC.PROP EXPORT_PW
    • EXPORT_FONT_EMBEDDING

      public static final PDFC.PROP EXPORT_FONT_EMBEDDING
      Toggle the font replacement and embedding for system font references when exporting to PDF
    • COLLAPSE

      public static final PDFC.PROP COLLAPSE
      Option to make pages without diffs in pdf-export to be collapsed
    • TYPES

      public static final PDFC.PROP TYPES
      The DiffGroup.GroupTypes to show in the result. All are enabled by default. Values: List of TYPE_ contants
    • HIGHLIGHTS

      public static final PDFC.PROP HIGHLIGHTS
      Defines which filters may show highlights in the print, PDF or PNG output. By default, all are disabled.
    • SIDES

      public static final PDFC.PROP SIDES
      The sides to export, when using print, PDF or PNG. Values: left, right or both. Default is both
    • SCALE

      public static final PDFC.PROP SCALE
      Boolean switch to enable or disable 'scale to fit page' in print, PDF and PNG. Default is false
    • OVERLAP

      public static final PDFC.PROP OVERLAP
      Boolean switch to enable or disable the overlap mode in print, PDF and PNG. Default is false
    • EXPORTALWAYS

      public static final PDFC.PROP EXPORTALWAYS
      Default export PDF by difference, if no difference available it doesn't export. Switch change the condition and export everytime. Replace the old parameter "exportonlyondifferences" and the config.xml property "PDFALWAYS" If both command parameter available ('exportonlyondifferences' and 'exportAlways'), the new parameter will be taken. This parameter is equivalent with -exportonlyondifferences=false
    • RETRY_BATCH

      public static final PDFC.PROP RETRY_BATCH
      Boolean switch to retry failed comparisons in batch mode. This may help if the parallel execution of the comparisons causes memory errors.
    • OPTION_XOR_IMAGES

      public static final PDFC.PROP OPTION_XOR_IMAGES
      Option to enable the creation of XOR images
    • OPTION_ORIGINAL_IMAGES

      public static final PDFC.PROP OPTION_ORIGINAL_IMAGES
      Option to enable the generation of original page images
    • OPTION_CREATE_FIRST_IMAGES

      public static final PDFC.PROP OPTION_CREATE_FIRST_IMAGES
      Option to enable the creation of difference images for the pages of the first PDF
    • OPTION_CREATE_SECOND_IMAGES

      public static final PDFC.PROP OPTION_CREATE_SECOND_IMAGES
      Option to enable the creation of difference images for the pages of the second PDF
    • OPTION_CREATE_DIFF_IMAGES

      public static final PDFC.PROP OPTION_CREATE_DIFF_IMAGES
      Option to enable the creation of differences images
    • PASSWORD1

      public static final PDFC.PROP PASSWORD1
      Sets the password for the first PDF file
    • PASSWORD2

      public static final PDFC.PROP PASSWORD2
      Sets the password for the second PDF file
  • Methodendetails

    • values

      public static PDFC.PROP[] values()
      Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
      Gibt zurück:
      ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
    • valueOf

      public static PDFC.PROP valueOf(String name)
      Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)
      Parameter:
      name - Name der zurückzugebenden Enumerationskonstante.
      Gibt zurück:
      Enumerationskonstante mit dem angegebenen Namen
      Löst aus:
      IllegalArgumentException - wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthält
      NullPointerException - wenn das Argument nicht angegeben wird
    • getKey

      public String getKey()
      Returns the long/full key of the parameter.
      Angegeben von:
      getKey in Schnittstelle CommandLineParameter
      Gibt zurück:
      the long/full key of the parameter, may be null if not used
    • getShortcut

      public char getShortcut()
      Returns the single character short cut switch, use a space if no shortcut can be used. Short cuts can be combined into a single parameter. It's recommended to only provide a shortcut if no parameter is required since the additional value would be ambiguous in case of combined parameters.
      Angegeben von:
      getShortcut in Schnittstelle CommandLineParameter
      Gibt zurück:
      the single character short cut switch or 0x00 if no shortcut is provided
    • hasValue

      public boolean hasValue()
      Returns whether the parameter requires an additional argument like a path.
      Angegeben von:
      hasValue in Schnittstelle CommandLineParameter
      Gibt zurück:
      true if the next parameter is the argument to this parameter
    • getMissingArgMsg

      public String getMissingArgMsg()
      Returns the message in case CommandLineParameter.hasValue() is true but no argument was passed. If CommandLineParameter.hasValue() returns false, this method may return null.
      Angegeben von:
      getMissingArgMsg in Schnittstelle CommandLineParameter
      Gibt zurück:
      the message in case CommandLineParameter.hasValue() is true but no argument was passed
    • execute

      public void execute(PDFC.ComparisonParameters parameters, String optionalParameter)
      Executes the parameter to modify the comparison configuration accordingly.
      Angegeben von:
      execute in Schnittstelle CommandLineParameter
      Parameter:
      parameters - the configuration instance for the comparison to run after all command line parameters have been evaluated.
      optionalParameter - if CommandLineParameter.hasValue() yields true, the caller will pass the additional value in this parameter
    • getHelpMessage

      public String getHelpMessage()
      Returns a string to attach to the list of commands of the tool. Must not have a leading or tailing break character! Use the default locale of the JVM for the translation.
      Angegeben von:
      getHelpMessage in Schnittstelle CommandLineParameter
      Gibt zurück:
      a string to attach to the list of commands of the tool or null for no help content